package com.cxy.datawarehouse.mapper;

import com.cxy.datawarehouse.entity.StandardCode;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface StandardCodeMapper extends JpaRepository<StandardCode, Long>, JpaSpecificationExecutor<StandardCode> {
    List<StandardCode> getStandardCodesByClassId(Long id);

    StandardCode getStandardCodeByStandardCodeId(Long id);
}
